package com.gusl.uploadapi.vo;

/**   
*    
* Project：uploadapi   
* Class name：JsonResult   
* Class Description：   
* Author：gus   
* Create Time：2020年2月13日 下午10:13:48   
* @version        
*/
public class ErrorResult
{
	private int code;
	private String msg;
	
	public ErrorResult()
	{
		this.code = -1;
		this.msg = "error";
	}
	
	public ErrorResult(String msg)
	{
		this.code = -1;
		this.msg = msg;
	}
	
	public ErrorResult(int code,String msg)
	{
		this.code = code;
		this.msg = msg;
	}
	
	public int getCode()
	{
		return code;
	}
	public void setCode(int code)
	{
		this.code = code;
	}
	public String getMsg()
	{
		return msg;
	}
	public void setMsg(String msg)
	{
		this.msg = msg;
	}
}
